									<?php $i =  0; foreach($this->listmasterkey as $row){ $i++;?>
                                      
                                        <tr id="table_row_<?php echo $row['id']?>" rel="<?php echo $row['id']?>">
                                            <td  width="3%" class="text-align"><input class="checkbox" type="checkbox" /></td>
                                            <td  width="3%" class="text-align stt" rel="<?php echo $i;?>"><?php echo $i;?></td>
                                            <td  width="15%"><?php echo $row['name']?></td>
                                            <td width="7%" ><?php echo $row['phone']?></td>
                                            <td width="20%" ><div class="sroll"><?php echo $row['email']?></div></td>
                                            <td width="15%" ><?php echo $row['userID']?></td>
                                            <td width="10%" ><?php echo $row['model']?></td>
                                            <td width="13%" ><?php echo $row['payment']?></td>
                                            <td width="8%" class="text-align"><?php echo $row['date']?></td>
                                            <td width="5%" class="text-align">
                                            	<ul class="optrow">
                                            		<li><a href="#" title="xóa dòng này"><img width="17px" alt="del" src="<?php echo TEMPLATES_URL.'/administrator/images/status_delete.png';?>"></a></li>
                                            		<li><a title="cấp Master Key" class="viewbox" url="<?php echo $this->url(array('module' => 'administrator', 'controller' => 'register', 'action' => 'addmasterkey', 'id' => $row['id']))?>"><img width="17px" alt="ok" src="<?php echo TEMPLATES_URL.'/administrator/images/add-key-icon.png';?>"></a></li>
                                            	</ul>
                                            </td>
                                        </tr>
                                      <?php }?>